package cn.com.shopec.erp.purchase.commo;

import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;

import org.springframework.beans.BeanUtils;

import cn.com.shopec.erp.common.utils.DateUtil;
import cn.com.shopec.erp.common.utils.RandomUtil;
import cn.com.shopec.erp.purchase.constant.ReturnedPOConstant;
import cn.com.shopec.erp.system.common.UserUtils;
import cn.com.shopec.erp.system.constant.SystemConstant;

/**
 * 
 * @ClassName ReturnedPOUtils
 * @Description 采购退货单工具类
 * @author chengui
 * @date 2013-5-24 上午10:17:04
 */
public class ReturnedPOUtils {
	
	/**
	 * 
	 * @MethodName generateRePoNo
	 * @Description 入库单生成规则
	 * @author liang shun wang
	 * @date 2013-5-28 下午3:14:06
	 * @return String
	 */
	public static String generateStockInNo() {
		String rePoNo = "ST";
		rePoNo += DateUtil.formatDateByFormat(new Date(), DateUtil.NOCHAR_PATTERN);
		rePoNo += RandomUtil.getRandomNumberStr(5);
		return rePoNo;
	}

}
